# -*- coding: utf-8 -*-
from spider_source.config import YINGJIESHENGSICHUAN_PAGE_Detail_LINK
from spider_source.utils.redis_utils import RedisUtils

for i in range(20):
    url = "http://www.yingjiesheng.com/job-004-892-021.html"
    utils = RedisUtils()
    utils.conn.lpush(YINGJIESHENGSICHUAN_PAGE_Detail_LINK, url)
# import re
#
# s = "2020年11月04日 至 2021年02月02日"
# data=re.findall(r"\d+\.?\d*", s)
# print(data)
# if len(data)>2:
#     print("{}-{}-{}".format(data[0],data[1],data[2]))

